package com.zhongkeruan.common.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author yangyao
 * @Description: 响应实体类
 * @date 2019/1/11 14:27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Result implements Serializable {

    private Integer code;

    private String msg;

    private Object data;

    public Result(Integer code, String msg){
        this.code = code;
        this.msg = msg;
    }

}
